package pcgen.android.widget;

import android.content.Context;
import android.widget.TextView;
import android.util.AttributeSet;

public class LabelView extends TextView
{
	public LabelView(Context context) 
	{
		super(context);
	}
	
	public LabelView(Context context, AttributeSet attrs)
	{
		super(context, attrs);
	}
 
	public LabelView(Context context, AttributeSet attrs, int defStyle)
	{
		super(context, attrs, defStyle);
	}
	
	public void setText(CharSequence text, BufferType type) 
	{
		String temp = text.toString();
		if (!temp.endsWith(":"))
			temp += ":";
		super.setText(temp, type);
	}
}
